﻿@{
    var currentOperator = CubicFWNet.Common.OperatorProvider.Provider.GetCurrent();
}
<header class="main-header">
    <!-- Logo -->
    <a href="@Url.Action("Index", "Home", new { area = "" })" class="logo">
        <span class="logo-mini"><b>立方</b></span>
        <span class="logo-lg">
            @*<img src="/Content/img/logo.png" />*@
        </span>
    </a>
    <!-- Top Navbar -->
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <span class="logo-memo">
            <span>后台框架</span><span class="logo-memo-sub">演示</span>
        </span>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <li class="dropdown messages-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-envelope-o"></i>
                        <span class="label label-success">5</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">您有5条消息</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <!-- start message -->
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="~/Content/img/avatar.png" class="img-circle" alt="User Image">
                                        </div>
                                        <h4>
                                            财务
                                            <small><i class="fa fa-clock-o"></i> 5分钟前</small>
                                        </h4>
                                        <p>怎么还不来领发票?</p>
                                    </a>
                                </li>
                                <!-- end message -->
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="~/Content/img/avatar2.png" class="img-circle" alt="User Image">
                                        </div>
                                        <h4>
                                            采购
                                            <small><i class="fa fa-clock-o"></i> 2小时前</small>
                                        </h4>
                                        <p>您的采购已完成，单号：170121223</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="~/Content/img/avatar3.png" class="img-circle" alt="User Image">
                                        </div>
                                        <h4>
                                            销售总监
                                            <small><i class="fa fa-clock-o"></i> 今天</small>
                                        </h4>
                                        <p>您的订单已审核通过</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="~/Content/img/avatar04.png" class="img-circle" alt="User Image">
                                        </div>
                                        <h4>
                                            生产组长
                                            <small><i class="fa fa-clock-o"></i> 昨天</small>
                                        </h4>
                                        <p>您的订单已生产完毕，单号：170121567</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="~/Content/img/avatar5.png" class="img-circle" alt="User Image">
                                        </div>
                                        <h4>
                                            老板
                                            <small><i class="fa fa-clock-o"></i> 2天前</small>
                                        </h4>
                                        <p>您的工资已调高一级</p>
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="footer"><a href="#">查看全部</a></li>
                    </ul>
                </li>
                <!-- Notifications: style can be found in dropdown.less -->
                <li class="dropdown notifications-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-bell-o"></i>
                        <span class="label label-warning">5</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">您有5条提醒</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <a href="#">
                                        <i class="fa fa-users text-aqua"></i> 新员工老王入职啦
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-warning text-yellow"></i> 您的订单已逾期，单号：170122333
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-users text-red"></i> 今天下午5点在大会议室开会
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-shopping-cart text-green"></i> 明天得给客户送货啦
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-user text-red"></i> 后天拜访客户
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="footer"><a href="#">查看全部</a></li>
                    </ul>
                </li>
                <!-- Tasks: style can be found in dropdown.less -->
                <li class="dropdown tasks-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-flag-o"></i>
                        <span class="label label-danger">4</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">您有4个任务</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            完成订单：170122999
                                            <small class="pull-right">20%</small>
                                        </h3>
                                        <div class="progress xs">
                                            <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                <span class="sr-only">20%</span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <!-- end task item -->
                                <li>
                                    <!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            完成订单：170122111
                                            <small class="pull-right">40%</small>
                                        </h3>
                                        <div class="progress xs">
                                            <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                <span class="sr-only">40%</span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <!-- end task item -->
                                <li>
                                    <!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            完成订单：170122222
                                            <small class="pull-right">60%</small>
                                        </h3>
                                        <div class="progress xs">
                                            <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                <span class="sr-only">60%</span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <!-- end task item -->
                                <li>
                                    <!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            完成订单：170122666
                                            <small class="pull-right">80%</small>
                                        </h3>
                                        <div class="progress xs">
                                            <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                <span class="sr-only">80%</span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <!-- end task item -->
                            </ul>
                        </li>
                        <li class="footer">
                            <a href="#">查看全部</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class="fa fa-gear"></i>                        
                    </a>
                </li>
                <li>
                    <a href="~/Login/OutLogin" class="dropdown-toggle">
                        <i class="fa fa-sign-out"></i>
                    </a>
                </li>
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle">
                        <img src="~/Content/img/avatar5.png" class="user-image" alt="User Image">
                        <span class="hidden-xs">@currentOperator.UserName</span>
                    </a>
                </li>
            </ul>
        </div>
    </nav>
</header>